package com.ml.mall.bean.req.industry;

import com.ml.mall.bean.base.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "产业信息分页查询")
public class IndustryQueryPageDto extends PageDto {

    @ApiModelProperty(value = "产业名称")
    @NotBlank(message = "产业名不能为空")
    private String industryName;

    @ApiModelProperty(value = "状态,自动填充")
    @NotNull(message = "状态不能为空")
    private Integer state;
}
